package com.xihuanjun.sdk.entity;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 售后单
 */
@Data
@ToString
@NoArgsConstructor
@JsonAutoDetect(fieldVisibility= JsonAutoDetect.Visibility.ANY,getterVisibility= JsonAutoDetect.Visibility.NONE)
public class JSTRefund {
    private BigDecimal refund;
    private BigDecimal payment;
    private BigDecimal shop_freight;
    private BigDecimal freight;

    private BigDecimal buyer_apply_refund;
    private BigDecimal buyer_receive_refund;
    private BigDecimal receive_refund;

    private String refund_version;

    private BigDecimal free_amount;
    private BigDecimal urefund;
    private Integer as_id;
    private Integer shop_id;
    private Integer o_id;
    private Integer wh_id;
//    private Integer asi_id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date as_date;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date confirm_date;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date created;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date modified;

    private String good_status;
    private String order_status;
    private String status;
    private String type;
    private String remark;
    private String node;
    private String warehouse;
    private String order_type;
    private String outer_as_id;
    private String question_type;
    private String shop_name;
    private String l_id;
    private String logistics_company;

    private String so_id;

    private List<JstGoodsItem> items;

}
